]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Remove some unused helpers
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 25 Apr 2013 19:55:59 +0000 (15:55 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 26 Apr 2013 16:16:05 +0000 (12:16 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=698918

js/ui/status/network.js

index bfe55c230b3c3dcea3e36240b99f888b33d2a12a..534c0ea374aca468fcdd9ffdb7e48a0df1f5ee1a 100644 (file)
@@ -45,20 +45,6 @@ const NM80211ApSecurityFlags = NetworkManager['80211ApSecurityFlags'];
 // (the remaining are placed into More…)
 const NUM_VISIBLE_NETWORKS = 5;
 
-function macToArray(string) {
-    return string.split(':').map(function(el) {
-        return parseInt(el, 16);
-    });
-}
-
-function macCompare(one, two) {
-    for (let i = 0; i < 6; i++) {
-        if (one[i] != two[i])
-            return false;
-    }
-    return true;
-}
-
 function ssidCompare(one, two) {
     if (!one || !two)
         return false;